package org.lhg.activiti.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.lhg.activiti.mapper.MemberShipMapper;
import org.lhg.activiti.model.MemberShip;
import org.lhg.activiti.service.MemberShipService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

@Service
@Transactional
public class MemberShipServiceImpl extends ServiceImpl<MemberShipMapper, MemberShip> implements MemberShipService {
    @Autowired
    private MemberShipMapper memberShipMapper;
    @Override
    public MemberShip login(Map<String, Object> map) {
        return memberShipMapper.login(map);
    }
}
